import request from '@/utils/request'

// 接口文档地址：https://s.apifox.cn/apidoc/docs-site/934563/api-19465921

export const getArticle = params => request.get('/interview/query', { params })

export const updataLike = id => request.post('/interview/opt', { id, optType: 1 })

export const updataCollect = id => request.post('/interview/opt', { id, optType: 2 })

export const getArticleCollectOrLike = params => request.get('/interview/opt/list', { params })
